x86/mm: Make iommu passthrough and mem paging/sharing mutually exclusive
authorAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 29 Mar 2012 11:01:33 +0000 (12:01 +0100)
committerAndres Lagar-Cavilla <andres@lagarcavilla.org>
Thu, 29 Mar 2012 11:01:33 +0000 (12:01 +0100)
commit5d27ed6a1ff944b5bb1c4d428386593d612fdc71
treecb8c39e64d253f71a47783e2d8294975918b955d
parent6a5fc81607c60d039652f0ea1926679f094bba19
x86/mm: Make iommu passthrough and mem paging/sharing mutually exclusive

Regardless of table sharing or processor vendor, these features cannot coexist
since iommu's don't expect gfn->mfn mappings to change, and sharing and paging
depend on trapping all accesses.

Signed-off-by: Andres Lagar-Cavilla <andres@lagarcavilla.org>
Acked-by: Tim Deegan <tim@xen.org>
Committed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/mm/mem_event.c
xen/arch/x86/mm/mem_sharing.c
xen/drivers/passthrough/iommu.c